<%= render "layouts/menu"%>

<div class="container">
     <%=render "layouts/errors"%>
	<h1><%= @title %></h1>
     <h4>Game Creator: <span style="color:orange;">
      <%= User.find_by_id(@m.owner).username %></span>
     </h4>
     <hr />
     <%if @beforeAfter == -1%>
          <%=render "game/before"%>          
     <%end%>
     
     
     <%if @beforeAfter == 1 %>
          <%= render "game/after"%>
     <%end%>
     
     <%if @beforeAfter == 0 %>
          <%= render "game/current"%>
     <%end%>
</div> <!-- /container -->
<hr>



<%=render "layouts/footer"%>
